/*
 * XML Type:  XGridHeader
 * Namespace: http://www.seedwill.com/xul/core
 * Java type: com.seedwill.xul.core.XGridHeader
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.core.impl;
/**
 * An XML XGridHeader(@http://www.seedwill.com/xul/core).
 *
 * This is a complex type.
 */
public class XGridHeaderImpl extends com.seedwill.xul.core.impl.XIdentifiedImpl implements com.seedwill.xul.core.XGridHeader
{
    private static final long serialVersionUID = 1L;
    
    public XGridHeaderImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COLUMNS$0 = 
        new javax.xml.namespace.QName("", "columns");
    private static final javax.xml.namespace.QName SCHEMAOUT$2 = 
        new javax.xml.namespace.QName("", "schemaOut");
    private static final javax.xml.namespace.QName SCHEMAOUTTYPE$4 = 
        new javax.xml.namespace.QName("", "schemaOutType");
    private static final javax.xml.namespace.QName ADAPTOROUT$6 = 
        new javax.xml.namespace.QName("", "adaptorOut");
    private static final javax.xml.namespace.QName ADAPTOROUTTYPE$8 = 
        new javax.xml.namespace.QName("", "adaptorOutType");
    private static final javax.xml.namespace.QName SCHEMAIN$10 = 
        new javax.xml.namespace.QName("", "schemaIn");
    private static final javax.xml.namespace.QName SCHEMAINTYPE$12 = 
        new javax.xml.namespace.QName("", "schemaInType");
    private static final javax.xml.namespace.QName ADAPTORIN$14 = 
        new javax.xml.namespace.QName("", "adaptorIn");
    private static final javax.xml.namespace.QName ADAPTORINTYPE$16 = 
        new javax.xml.namespace.QName("", "adaptorInType");
    private static final javax.xml.namespace.QName REFERDATA$18 = 
        new javax.xml.namespace.QName("", "referData");
    private static final javax.xml.namespace.QName DATA$20 = 
        new javax.xml.namespace.QName("", "data");
    private static final javax.xml.namespace.QName KEYSCHEMA$22 = 
        new javax.xml.namespace.QName("", "keySchema");
    private static final javax.xml.namespace.QName VISUABLE$24 = 
        new javax.xml.namespace.QName("", "visuable");
    private static final javax.xml.namespace.QName INPUTABLE$26 = 
        new javax.xml.namespace.QName("", "inputable");
    private static final javax.xml.namespace.QName SORTABLE$28 = 
        new javax.xml.namespace.QName("", "sortable");
    private static final javax.xml.namespace.QName AJUSTABLE$30 = 
        new javax.xml.namespace.QName("", "ajustable");
    
    
    /**
     * Gets array of all "columns" elements
     */
    public com.seedwill.xul.core.XColumn[] getColumnsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(COLUMNS$0, targetList);
            com.seedwill.xul.core.XColumn[] result = new com.seedwill.xul.core.XColumn[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "columns" element
     */
    public com.seedwill.xul.core.XColumn getColumnsArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.seedwill.xul.core.XColumn target = null;
            target = (com.seedwill.xul.core.XColumn)get_store().find_element_user(COLUMNS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "columns" element
     */
    public int sizeOfColumnsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(COLUMNS$0);
        }
    }
    
    /**
     * Sets array of all "columns" element
     */
    public void setColumnsArray(com.seedwill.xul.core.XColumn[] columnsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(columnsArray, COLUMNS$0);
        }
    }
    
    /**
     * Sets ith "columns" element
     */
    public void setColumnsArray(int i, com.seedwill.xul.core.XColumn columns)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.seedwill.xul.core.XColumn target = null;
            target = (com.seedwill.xul.core.XColumn)get_store().find_element_user(COLUMNS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(columns);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "columns" element
     */
    public com.seedwill.xul.core.XColumn insertNewColumns(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.seedwill.xul.core.XColumn target = null;
            target = (com.seedwill.xul.core.XColumn)get_store().insert_element_user(COLUMNS$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "columns" element
     */
    public com.seedwill.xul.core.XColumn addNewColumns()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.seedwill.xul.core.XColumn target = null;
            target = (com.seedwill.xul.core.XColumn)get_store().add_element_user(COLUMNS$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "columns" element
     */
    public void removeColumns(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(COLUMNS$0, i);
        }
    }
    
    /**
     * Gets the "schemaOut" element
     */
    public java.lang.String getSchemaOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAOUT$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "schemaOut" element
     */
    public org.apache.xmlbeans.XmlString xgetSchemaOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAOUT$2, 0);
            return target;
        }
    }
    
    /**
     * True if has "schemaOut" element
     */
    public boolean isSetSchemaOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SCHEMAOUT$2) != 0;
        }
    }
    
    /**
     * Sets the "schemaOut" element
     */
    public void setSchemaOut(java.lang.String schemaOut)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAOUT$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCHEMAOUT$2);
            }
            target.setStringValue(schemaOut);
        }
    }
    
    /**
     * Sets (as xml) the "schemaOut" element
     */
    public void xsetSchemaOut(org.apache.xmlbeans.XmlString schemaOut)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAOUT$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SCHEMAOUT$2);
            }
            target.set(schemaOut);
        }
    }
    
    /**
     * Unsets the "schemaOut" element
     */
    public void unsetSchemaOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SCHEMAOUT$2, 0);
        }
    }
    
    /**
     * Gets the "schemaOutType" element
     */
    public java.lang.String getSchemaOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAOUTTYPE$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "schemaOutType" element
     */
    public org.apache.xmlbeans.XmlString xgetSchemaOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAOUTTYPE$4, 0);
            return target;
        }
    }
    
    /**
     * True if has "schemaOutType" element
     */
    public boolean isSetSchemaOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SCHEMAOUTTYPE$4) != 0;
        }
    }
    
    /**
     * Sets the "schemaOutType" element
     */
    public void setSchemaOutType(java.lang.String schemaOutType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAOUTTYPE$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCHEMAOUTTYPE$4);
            }
            target.setStringValue(schemaOutType);
        }
    }
    
    /**
     * Sets (as xml) the "schemaOutType" element
     */
    public void xsetSchemaOutType(org.apache.xmlbeans.XmlString schemaOutType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAOUTTYPE$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SCHEMAOUTTYPE$4);
            }
            target.set(schemaOutType);
        }
    }
    
    /**
     * Unsets the "schemaOutType" element
     */
    public void unsetSchemaOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SCHEMAOUTTYPE$4, 0);
        }
    }
    
    /**
     * Gets the "adaptorOut" element
     */
    public java.lang.String getAdaptorOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTOROUT$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "adaptorOut" element
     */
    public org.apache.xmlbeans.XmlString xgetAdaptorOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTOROUT$6, 0);
            return target;
        }
    }
    
    /**
     * True if has "adaptorOut" element
     */
    public boolean isSetAdaptorOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADAPTOROUT$6) != 0;
        }
    }
    
    /**
     * Sets the "adaptorOut" element
     */
    public void setAdaptorOut(java.lang.String adaptorOut)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTOROUT$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADAPTOROUT$6);
            }
            target.setStringValue(adaptorOut);
        }
    }
    
    /**
     * Sets (as xml) the "adaptorOut" element
     */
    public void xsetAdaptorOut(org.apache.xmlbeans.XmlString adaptorOut)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTOROUT$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ADAPTOROUT$6);
            }
            target.set(adaptorOut);
        }
    }
    
    /**
     * Unsets the "adaptorOut" element
     */
    public void unsetAdaptorOut()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADAPTOROUT$6, 0);
        }
    }
    
    /**
     * Gets the "adaptorOutType" element
     */
    public java.lang.String getAdaptorOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTOROUTTYPE$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "adaptorOutType" element
     */
    public org.apache.xmlbeans.XmlString xgetAdaptorOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTOROUTTYPE$8, 0);
            return target;
        }
    }
    
    /**
     * True if has "adaptorOutType" element
     */
    public boolean isSetAdaptorOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADAPTOROUTTYPE$8) != 0;
        }
    }
    
    /**
     * Sets the "adaptorOutType" element
     */
    public void setAdaptorOutType(java.lang.String adaptorOutType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTOROUTTYPE$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADAPTOROUTTYPE$8);
            }
            target.setStringValue(adaptorOutType);
        }
    }
    
    /**
     * Sets (as xml) the "adaptorOutType" element
     */
    public void xsetAdaptorOutType(org.apache.xmlbeans.XmlString adaptorOutType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTOROUTTYPE$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ADAPTOROUTTYPE$8);
            }
            target.set(adaptorOutType);
        }
    }
    
    /**
     * Unsets the "adaptorOutType" element
     */
    public void unsetAdaptorOutType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADAPTOROUTTYPE$8, 0);
        }
    }
    
    /**
     * Gets the "schemaIn" element
     */
    public java.lang.String getSchemaIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAIN$10, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "schemaIn" element
     */
    public org.apache.xmlbeans.XmlString xgetSchemaIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAIN$10, 0);
            return target;
        }
    }
    
    /**
     * True if has "schemaIn" element
     */
    public boolean isSetSchemaIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SCHEMAIN$10) != 0;
        }
    }
    
    /**
     * Sets the "schemaIn" element
     */
    public void setSchemaIn(java.lang.String schemaIn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAIN$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCHEMAIN$10);
            }
            target.setStringValue(schemaIn);
        }
    }
    
    /**
     * Sets (as xml) the "schemaIn" element
     */
    public void xsetSchemaIn(org.apache.xmlbeans.XmlString schemaIn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAIN$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SCHEMAIN$10);
            }
            target.set(schemaIn);
        }
    }
    
    /**
     * Unsets the "schemaIn" element
     */
    public void unsetSchemaIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SCHEMAIN$10, 0);
        }
    }
    
    /**
     * Gets the "schemaInType" element
     */
    public java.lang.String getSchemaInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAINTYPE$12, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "schemaInType" element
     */
    public org.apache.xmlbeans.XmlString xgetSchemaInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAINTYPE$12, 0);
            return target;
        }
    }
    
    /**
     * True if has "schemaInType" element
     */
    public boolean isSetSchemaInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SCHEMAINTYPE$12) != 0;
        }
    }
    
    /**
     * Sets the "schemaInType" element
     */
    public void setSchemaInType(java.lang.String schemaInType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHEMAINTYPE$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCHEMAINTYPE$12);
            }
            target.setStringValue(schemaInType);
        }
    }
    
    /**
     * Sets (as xml) the "schemaInType" element
     */
    public void xsetSchemaInType(org.apache.xmlbeans.XmlString schemaInType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SCHEMAINTYPE$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SCHEMAINTYPE$12);
            }
            target.set(schemaInType);
        }
    }
    
    /**
     * Unsets the "schemaInType" element
     */
    public void unsetSchemaInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SCHEMAINTYPE$12, 0);
        }
    }
    
    /**
     * Gets the "adaptorIn" element
     */
    public java.lang.String getAdaptorIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTORIN$14, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "adaptorIn" element
     */
    public org.apache.xmlbeans.XmlString xgetAdaptorIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTORIN$14, 0);
            return target;
        }
    }
    
    /**
     * True if has "adaptorIn" element
     */
    public boolean isSetAdaptorIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADAPTORIN$14) != 0;
        }
    }
    
    /**
     * Sets the "adaptorIn" element
     */
    public void setAdaptorIn(java.lang.String adaptorIn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTORIN$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADAPTORIN$14);
            }
            target.setStringValue(adaptorIn);
        }
    }
    
    /**
     * Sets (as xml) the "adaptorIn" element
     */
    public void xsetAdaptorIn(org.apache.xmlbeans.XmlString adaptorIn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTORIN$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ADAPTORIN$14);
            }
            target.set(adaptorIn);
        }
    }
    
    /**
     * Unsets the "adaptorIn" element
     */
    public void unsetAdaptorIn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADAPTORIN$14, 0);
        }
    }
    
    /**
     * Gets the "adaptorInType" element
     */
    public java.lang.String getAdaptorInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTORINTYPE$16, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "adaptorInType" element
     */
    public org.apache.xmlbeans.XmlString xgetAdaptorInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTORINTYPE$16, 0);
            return target;
        }
    }
    
    /**
     * True if has "adaptorInType" element
     */
    public boolean isSetAdaptorInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADAPTORINTYPE$16) != 0;
        }
    }
    
    /**
     * Sets the "adaptorInType" element
     */
    public void setAdaptorInType(java.lang.String adaptorInType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADAPTORINTYPE$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADAPTORINTYPE$16);
            }
            target.setStringValue(adaptorInType);
        }
    }
    
    /**
     * Sets (as xml) the "adaptorInType" element
     */
    public void xsetAdaptorInType(org.apache.xmlbeans.XmlString adaptorInType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ADAPTORINTYPE$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ADAPTORINTYPE$16);
            }
            target.set(adaptorInType);
        }
    }
    
    /**
     * Unsets the "adaptorInType" element
     */
    public void unsetAdaptorInType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADAPTORINTYPE$16, 0);
        }
    }
    
    /**
     * Gets the "referData" element
     */
    public java.lang.String getReferData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFERDATA$18, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "referData" element
     */
    public org.apache.xmlbeans.XmlString xgetReferData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFERDATA$18, 0);
            return target;
        }
    }
    
    /**
     * True if has "referData" element
     */
    public boolean isSetReferData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(REFERDATA$18) != 0;
        }
    }
    
    /**
     * Sets the "referData" element
     */
    public void setReferData(java.lang.String referData)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFERDATA$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFERDATA$18);
            }
            target.setStringValue(referData);
        }
    }
    
    /**
     * Sets (as xml) the "referData" element
     */
    public void xsetReferData(org.apache.xmlbeans.XmlString referData)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFERDATA$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(REFERDATA$18);
            }
            target.set(referData);
        }
    }
    
    /**
     * Unsets the "referData" element
     */
    public void unsetReferData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(REFERDATA$18, 0);
        }
    }
    
    /**
     * Gets array of all "data" elements
     */
    public org.apache.xmlbeans.XmlAnySimpleType[] getDataArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(DATA$20, targetList);
            org.apache.xmlbeans.XmlAnySimpleType[] result = new org.apache.xmlbeans.XmlAnySimpleType[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "data" element
     */
    public org.apache.xmlbeans.XmlAnySimpleType getDataArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnySimpleType target = null;
            target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_element_user(DATA$20, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "data" element
     */
    public int sizeOfDataArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DATA$20);
        }
    }
    
    /**
     * Sets array of all "data" element
     */
    public void setDataArray(org.apache.xmlbeans.XmlAnySimpleType[] dataArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(dataArray, DATA$20);
        }
    }
    
    /**
     * Sets ith "data" element
     */
    public void setDataArray(int i, org.apache.xmlbeans.XmlAnySimpleType data)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnySimpleType target = null;
            target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_element_user(DATA$20, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(data);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "data" element
     */
    public org.apache.xmlbeans.XmlAnySimpleType insertNewData(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnySimpleType target = null;
            target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().insert_element_user(DATA$20, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "data" element
     */
    public org.apache.xmlbeans.XmlAnySimpleType addNewData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnySimpleType target = null;
            target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_element_user(DATA$20);
            return target;
        }
    }
    
    /**
     * Removes the ith "data" element
     */
    public void removeData(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DATA$20, i);
        }
    }
    
    /**
     * Gets array of all "keySchema" elements
     */
    public java.lang.String[] getKeySchemaArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(KEYSCHEMA$22, targetList);
            java.lang.String[] result = new java.lang.String[targetList.size()];
            for (int i = 0, len = targetList.size() ; i < len ; i++)
                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
            return result;
        }
    }
    
    /**
     * Gets ith "keySchema" element
     */
    public java.lang.String getKeySchemaArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYSCHEMA$22, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) array of all "keySchema" elements
     */
    public org.apache.xmlbeans.XmlString[] xgetKeySchemaArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(KEYSCHEMA$22, targetList);
            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets (as xml) ith "keySchema" element
     */
    public org.apache.xmlbeans.XmlString xgetKeySchemaArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(KEYSCHEMA$22, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return (org.apache.xmlbeans.XmlString)target;
        }
    }
    
    /**
     * Returns number of "keySchema" element
     */
    public int sizeOfKeySchemaArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(KEYSCHEMA$22);
        }
    }
    
    /**
     * Sets array of all "keySchema" element
     */
    public void setKeySchemaArray(java.lang.String[] keySchemaArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(keySchemaArray, KEYSCHEMA$22);
        }
    }
    
    /**
     * Sets ith "keySchema" element
     */
    public void setKeySchemaArray(int i, java.lang.String keySchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYSCHEMA$22, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.setStringValue(keySchema);
        }
    }
    
    /**
     * Sets (as xml) array of all "keySchema" element
     */
    public void xsetKeySchemaArray(org.apache.xmlbeans.XmlString[]keySchemaArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(keySchemaArray, KEYSCHEMA$22);
        }
    }
    
    /**
     * Sets (as xml) ith "keySchema" element
     */
    public void xsetKeySchemaArray(int i, org.apache.xmlbeans.XmlString keySchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(KEYSCHEMA$22, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(keySchema);
        }
    }
    
    /**
     * Inserts the value as the ith "keySchema" element
     */
    public void insertKeySchema(int i, java.lang.String keySchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = 
                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(KEYSCHEMA$22, i);
            target.setStringValue(keySchema);
        }
    }
    
    /**
     * Appends the value as the last "keySchema" element
     */
    public void addKeySchema(java.lang.String keySchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KEYSCHEMA$22);
            target.setStringValue(keySchema);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "keySchema" element
     */
    public org.apache.xmlbeans.XmlString insertNewKeySchema(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(KEYSCHEMA$22, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "keySchema" element
     */
    public org.apache.xmlbeans.XmlString addNewKeySchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(KEYSCHEMA$22);
            return target;
        }
    }
    
    /**
     * Removes the ith "keySchema" element
     */
    public void removeKeySchema(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(KEYSCHEMA$22, i);
        }
    }
    
    /**
     * Gets the "visuable" attribute
     */
    public boolean getVisuable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VISUABLE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(VISUABLE$24);
            }
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "visuable" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetVisuable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(VISUABLE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(VISUABLE$24);
            }
            return target;
        }
    }
    
    /**
     * True if has "visuable" attribute
     */
    public boolean isSetVisuable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(VISUABLE$24) != null;
        }
    }
    
    /**
     * Sets the "visuable" attribute
     */
    public void setVisuable(boolean visuable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VISUABLE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VISUABLE$24);
            }
            target.setBooleanValue(visuable);
        }
    }
    
    /**
     * Sets (as xml) the "visuable" attribute
     */
    public void xsetVisuable(org.apache.xmlbeans.XmlBoolean visuable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(VISUABLE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(VISUABLE$24);
            }
            target.set(visuable);
        }
    }
    
    /**
     * Unsets the "visuable" attribute
     */
    public void unsetVisuable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(VISUABLE$24);
        }
    }
    
    /**
     * Gets the "inputable" attribute
     */
    public boolean getInputable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INPUTABLE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(INPUTABLE$26);
            }
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "inputable" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetInputable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(INPUTABLE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(INPUTABLE$26);
            }
            return target;
        }
    }
    
    /**
     * True if has "inputable" attribute
     */
    public boolean isSetInputable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(INPUTABLE$26) != null;
        }
    }
    
    /**
     * Sets the "inputable" attribute
     */
    public void setInputable(boolean inputable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INPUTABLE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INPUTABLE$26);
            }
            target.setBooleanValue(inputable);
        }
    }
    
    /**
     * Sets (as xml) the "inputable" attribute
     */
    public void xsetInputable(org.apache.xmlbeans.XmlBoolean inputable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(INPUTABLE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(INPUTABLE$26);
            }
            target.set(inputable);
        }
    }
    
    /**
     * Unsets the "inputable" attribute
     */
    public void unsetInputable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(INPUTABLE$26);
        }
    }
    
    /**
     * Gets the "sortable" attribute
     */
    public boolean getSortable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SORTABLE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SORTABLE$28);
            }
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "sortable" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetSortable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SORTABLE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SORTABLE$28);
            }
            return target;
        }
    }
    
    /**
     * True if has "sortable" attribute
     */
    public boolean isSetSortable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SORTABLE$28) != null;
        }
    }
    
    /**
     * Sets the "sortable" attribute
     */
    public void setSortable(boolean sortable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SORTABLE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SORTABLE$28);
            }
            target.setBooleanValue(sortable);
        }
    }
    
    /**
     * Sets (as xml) the "sortable" attribute
     */
    public void xsetSortable(org.apache.xmlbeans.XmlBoolean sortable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SORTABLE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SORTABLE$28);
            }
            target.set(sortable);
        }
    }
    
    /**
     * Unsets the "sortable" attribute
     */
    public void unsetSortable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SORTABLE$28);
        }
    }
    
    /**
     * Gets the "ajustable" attribute
     */
    public boolean getAjustable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AJUSTABLE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(AJUSTABLE$30);
            }
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "ajustable" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetAjustable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(AJUSTABLE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(AJUSTABLE$30);
            }
            return target;
        }
    }
    
    /**
     * True if has "ajustable" attribute
     */
    public boolean isSetAjustable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(AJUSTABLE$30) != null;
        }
    }
    
    /**
     * Sets the "ajustable" attribute
     */
    public void setAjustable(boolean ajustable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AJUSTABLE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AJUSTABLE$30);
            }
            target.setBooleanValue(ajustable);
        }
    }
    
    /**
     * Sets (as xml) the "ajustable" attribute
     */
    public void xsetAjustable(org.apache.xmlbeans.XmlBoolean ajustable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(AJUSTABLE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(AJUSTABLE$30);
            }
            target.set(ajustable);
        }
    }
    
    /**
     * Unsets the "ajustable" attribute
     */
    public void unsetAjustable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(AJUSTABLE$30);
        }
    }
}
